<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<s:form method="post" action="serverBackup" theme="simple">
	<table class="verdana12blacknormal" width="100%">
		<tbody>
			<tr>
				<td height="40" colspan="2" class="sectionheading bottom-border">
					Server Backup
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<s:actionerror theme="simple" cssClass="Note-red" />
					<s:fielderror theme="simple" cssClass="Note-red"/>
				</td>
			</tr>
			<tr>
				<td align="right" class="verdana12blacknormal">
					Backup command on your system:
				</td>
				<td width="60%">
					<s:textfield cssClass="Textfiled-border" theme="simple" name="backupCommand" value="tar cvzf "
						label="Backup command on your system" size="50"/>
				</td>
			</tr>
			<tr>
				<td align="right" class="verdana12blacknormal">
					Compress command on your system:
				</td>
				<td width="60%">
					<s:textfield cssClass="Textfiled-border" theme="simple" name="compressCommand" value="gzip "
						label="Compress command on your system" size="50" />
				</td>
			</tr>
			<tr>
				<td align="right" class="verdana12blacknormal">
					Complete backup file name and path:
				</td>
				<td width="60%">
					<s:textfield cssClass="Textfiled-border" theme="simple" name="backupPath"
						label="Complete backup file name and path:" size="50"/>
				</td>
			</tr>
			<tr>
				<td align="right" class="verdana12blacknormal">
					Directories to backup:
					<br><font class="verdana11Greynormal">Separate directories by a space</font>
				</td>
				<td width="60%">
					<s:textarea cssClass="Textfiled-border" theme="simple" name="backUpDir" rows="3" cols="38" />
				</td>
			</tr>
			<tr align="left">
			<td></td>
				<td align="left">
					<s:submit theme="simple" type="image" src="../Admin-Images/backup-btn.gif" align="left" value="Backup"/>
					<input type="image" src="../Admin-Images/reset-button.gif" value="Reset" onclick="this.form.reset();">
				</td>
			</tr>
		</tbody>
	</table>

</s:form>